package cn.icanci.test.service.impl;

import cn.icanci.test.service.HiService;

import org.springframework.stereotype.Service;

/**
 * @author icanci
 * @date Created in 2021/03/02 23:54
 * @version 1.0
 */
@Service
public class HiServiceImpl implements HiService {
    @Override
    public void sayHi() {
        try {
            Thread.sleep(3000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("HiServiceImpl.sayHi");
    }

    @Override
    public String justWantToSayHi() {
        return "justWantToSayHi";
    }
}
